home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3srabez.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  877 b   |  43 lines

  1.  
  2. // JavaScript wrapper for r3srabez.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_SRABEZ_H = 1;
  7. include("real/raytr/r3surf.js")
  8.  
  9.  
  10. var R3CLID_SRATBEZIER = 494;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3SRBEZA_BilinearUV = 494509;
  19. function SetR3SRBEZA_BilinearUV(value) {
  20.   R3Set(this.r3obj, R3SRBEZA_BilinearUV, value, R3TID_INTEGER, 0); 
  21. }
  22.  
  23. R3SRBEZA_MaxDisplacement = 494513;
  24. function SetR3SRBEZA_MaxDisplacement(value) {
  25.   R3Set(this.r3obj, R3SRBEZA_MaxDisplacement, value, R3TID_FLOAT, 0); 
  26. }
  27.  
  28.  
  29.  
  30. function r3Sratbezier () { 
  31.    this.base = r3God;
  32.    if(arguments.length) {
  33.       this.base(R3CLID_SRATBEZIER, arguments);
  34.    }
  35.    // Methods
  36.  
  37.    // Attributes
  38.    this.SetBilinearUV=SetR3SRBEZA_BilinearUV;
  39.    this.SetMaxDisplacement=SetR3SRBEZA_MaxDisplacement;
  40. }
  41.  
  42. r3Sratbezier.prototype=new r3Surface;
  43. // r3srabez.h_H